package com.caltco.cargo.ops.common.config;

import com.caltco.cargo.ops.common.plugins.genrator.CustomIdGenerator;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * description: MybatisPlusConfig
 * date: 2023/2/1 14:44
 * author: yehao
 * version: 1.0
 */
@Configuration
public class MybatisPlusConfig {

    @Bean
    public CustomIdGenerator customIdGenerator(){
        return new CustomIdGenerator();
    }
}